package com.travel.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 酒店房间表
 * @TableName room
 */
@TableName(value ="room")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Room implements Serializable {
    /**
     * 房间id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 酒店id
     */
    @TableField(value = "hotel_id")
    private Integer hotelId;

    /**
     * 房间名
     */
    @TableField(value = "name")
    private String name;

    /**
     * 床位信息
     */
    @TableField(value = "bed_information")
    private String bedInformation;

    /**
     * 房间大小
     */
    @TableField(value = "room_size")
    private Integer roomSize;

    /**
     * 是否有窗(1有2无)
     */
    @TableField(value = "windows")
    private Integer windows;

    /**
     * 是否禁烟(1、禁烟  2、不禁烟  3、部分禁烟)
     */
    @TableField(value = "smoking")
    private Integer smoking;

    /**
     * 几人居住
     */
    @TableField(value = "peoples")
    private Integer peoples;

    /**
     * 是否有早餐(1、有  2、无)
     */
    @TableField(value = "breakfast")
    private Integer breakfast;

    /**
     * 是否支持闪住
     */
    @TableField(value = "flash_live")
    private Integer flashLive;

    /**
     * 可否取消(1、可取消  2、不可取消)
     */
    @TableField(value = "cancell")
    private Integer cancell;

    /**
     * 价格
     */
    @TableField(value = "price")
    private Integer price;

    /**
     * 剩余房间
     */
    @TableField(value = "remaining_room")
    private Integer remainingRoom;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}